Skip to content

docs: clarify templates vs snapshots performance and many-template usage#250

Merged
beran-t merged 5 commits into
mainfrom
mintlify/578de46b
Jul 17, 2026
Merged

docs: clarify templates vs snapshots performance and many-template usage#250
beran-t merged 5 commits into
mainfrom
mintlify/578de46b

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Adds guidance under sandbox snapshots explaining why templates are typically faster and more resource-efficient (compact memory after guest OS restart, more effective prefetching), and adds a "Creating many templates" section in the template quickstart covering per-customer/per-project usage at scale and layering templates with fromTemplate.

  • docs/sandbox/snapshots.mdx: new "Performance: prefer templates when possible" subsection under Snapshots vs. Templates.
  • docs/template/quickstart.mdx: new "Creating many templates" section with a fromTemplate example.

@cla-bot cla-bot Bot added the cla-signed label Jun 13, 2026
@mintlify

mintlify Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview Jun 13, 2026, 12:24 AM

Comment thread docs/template/quickstart.mdx Outdated

@mishushakov mishushakov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added comments

Comment thread docs/sandbox/snapshots.mdx Outdated
Comment thread docs/sandbox/snapshots.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
- Replace em-dashes with periods/commas per project style
- Point fromTemplate link at js-sdk/latest alias instead of pinned v2.29.1
- Rename 'Creating many templates' to 'Scaling templates'
- Shorten performance heading to 'Performance'
- Soften no-limit claims; note storage pricing is planned
- Update cross-link anchor to #scaling-templates
Comment thread docs/template/quickstart.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
Comment thread docs/template/quickstart.mdx Outdated
- Replace nonexistent copyDirectory/copy_directory with copy() (per SDK reference)
- Drop 'hundreds of thousands' claim; state currently no limit, storage pricing may come
@beran-t
beran-t merged commit 5d7c2ff into main Jul 17, 2026
9 checks passed
@beran-t
beran-t deleted the mintlify/578de46b branch July 17, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants